﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="QuaManSys.Login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">   
	<title></title>
	
	<style type="text/css" >
		#BodyBg
		{ 
			width: 100%;  
			height: 100%;  
			position: absolute;  
			left: 0px;  
			top: 0px;  
			z-index: 0; 
		} 
 
		.stretch { 
			width:100%; 
			height:100%; 
		}
		
		table
		{
			position:absolute;
			left:400px;
			top:200px;
		}
		
		input[type=submit]
		{
			margin:10px;
			background-color:#0e64e1;
			Font-Size:Medium;
			color:White;
			Height:28px;
			Width:65px;
		}
		
		#lblID, #lblPwd 
		{
		   color:White;
		   font-size:medium; 
		}
	</style>
</head>
<body>
	<form id="form1" runat="server" >

	<div id="BodyBg">
	<img src="Image/login.jpg" class="stretch" alt=""/>

	<table align="center">
			<tr>
				<td width="80" height="20">
					<asp:Label ID="lblID" runat="server" Text="用户ID："></asp:Label>
				</td>
				<td width="120" height="20">
					<asp:TextBox ID="txtName" runat="server"></asp:TextBox>
				</td>
				<td>
					<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
					ErrorMessage="必须填写用户名" ControlToValidate="txtName"></asp:RequiredFieldValidator>
				</td>
			</tr>
			<tr>
				<td>
					<asp:Label ID="lblPwd" runat="server" Text="密码："></asp:Label>
				</td>
				<td width="120" height="20">
					<asp:TextBox ID="txtPwd" runat="server" TextMode="Password"></asp:TextBox>
				</td>
				<td>
					<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
					ErrorMessage="必须填写密码" ControlToValidate="txtPwd"></asp:RequiredFieldValidator>
				</td>
			</tr>            
			<tr>
				<td height="20" colspan="2" align="center">
					<asp:Button ID="btnLogin" runat="server" Text="登录" 
						CssClass="input_button" Height="23px" Width="80px" 
						OnClick="btnLogin_Click" />&nbsp;&nbsp;
					<asp:Button ID="btnReset" runat="server" Text="重置" 
						CssClass="input_button" Height="23px" Width="80px" 
						OnClick="btnReset_Click" />
				</td>
				
			</tr>
		</table>  
	</div>
	</form>
</body>
</html>
